package com.cicigodd.brick.plug.system.role.mapper;

import com.cicigodd.brick.plug.system.role.entity.SysRoleUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * 角色用户关联
 *
 * @author cicigodd
 * @date 2022/12/12 15:52:23
 */
public interface SysRoleUserMapper extends BaseMapper<SysRoleUser> {

    List<Integer> getRoleIdsByUserId(Integer userId);
}
